#include <iostream>
#include <unistd.h>
using namespace std;

int main()
{
    while (1)
    {
        cout << "I'm a process.My pid is " << getpid() << endl;
        sleep(2);
    }
    return 0;
}